package win.demonlegion.mapper;

import java.util.List;

public interface BaseMapper<T>{
	T selectById(String id);
	
	int deleteById(String id);

	int update(T t);

	int add(T t);

	int count();

	List<T> findAll();
}
